{% extends "base.html" %}
{% block title %}我的博文{% endblock %}
{% block pagename %}我的博文{% endblock %}
{% block content %}
{% include "myblog/nav.html" %}
    <table class="table table-hover table-condensed">
      <tr>
        <th>博文</th>
      </tr>
    </table>
    {% for item in db %}
    <div class="panel panel-success">
      <div class="panel-heading">
        {{ item.title }}
      </div>
      <div class="panel-body">
        {{ item.content }}
      </div>
      <div class="panel-footer text-right">
        {{ item.time }}
      </div>
    </div>
    {% endfor %}

{% endblock %}